PATHMac OS 8 Developer Documentation > Operating System Services > Multiprocessing Services >

Adding Multitasking Capability to Applications Using Multiprocessing Services

   

MPProcessorsScheduled

Returns the number of active processors available on the host computer.

ItemCount MPProcessorsScheduled (void);
function result
A value of type ItemCount that indicates the number of active processors available on the host computer.
DISCUSSION

The number of active processors is defined as the number of processors scheduled to run tasks. This number varies while the system is running. Advanced power management facilities may stop or start scheduling processors in the system to control power consumption or to maintain a proper operating temperature.

VERSION NOTES

Introduced with Multiprocessing Services 2.0.

SEE ALSO

The function MPProcessors .


© 1999 Apple Computer, Inc. – (Last Updated 07 May 99)